# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=dripcap
pkgver=0.6.15
pkgrel=1
pkgdesc='Caffeinated Packet Analyzer.'
groups=('blackarch' 'blackarch-networking' 'blackarch-sniffer')
arch=('x86_64')
url='https://github.com/dripcap/dripcap'
license=('MIT')
options=(!strip)
source=("https://github.com/dripcap/$pkgname/releases/download/v$pkgver/$pkgname-linux-amd64.deb")
sha512sums=('8b5765a13f3ef60aaf6e2f65fd74e0c7119e005162f98f370a7a8e0b21e01a8596910c16e93bb7145d29dd63557db1f9b836fc021008d1bafcd345a7876a8626')

package() {
  bsdtar xf data.tar.gz

  chmod -R g-w usr

  mv usr "$pkgdir"
}

